package cn.zj.logistics.pojo;

/*
 * 此对象是专门用于Ajax请求返回的对象
 * 
 */
public class MessageObject {
	Integer code; //0 失败 1 成功
	String message; //提示信息
	
	public static MessageObject creatMO(Integer code ,String message) {
		
		MessageObject mo = new MessageObject();
		mo.setCode(code);
		mo.setMessage(message);
		return mo;
	}
	
	
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	
	
	
}
